import request from '../utils/request.js';
//添加
export function getAddAction(data){
	return request({
		url:'/getAddAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//修改
export function getEditAction(data){
	return request({
		url:'/getEditAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//删除
export function getDeleteAction(data){
	return request({
		url:'/DeleteAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//查询
export function getInquiryAction(data){
	return request({
		url:'/getInquiryAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//队列添加/修改
export function setAsynChronousAdd(data){
	return request({
		url:'/setAsynChronousAdd?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//查询带原值
export function getInquiryIDOriginal(data){
	return request({
		url:'/getInquiryIDOriginal?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//获取用户OpenID
export function getOpenIDAction(data){
	return request({
		url:'/getWeChatOpenIDAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//获取用户信息
export function getMemberInfoAction(data){
	return request({
		url:'/WeChatMemberInfoAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//地址解析
export function AddressResolution(data){
	return request({
		url:'/getAddressResolutionAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
//逆地址解析
export function LocationResolution(data){
	return request({
		url:'/getLocationResolutionAction?grant_type=wechat_program',
		method:'POST',
		data,
	})
}

// 模糊查询
export function getWXGoodsIdBlurred(data){
	return request({
		url:'/WXGoodsIdBlurred?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
// Json
export function getJson(data){
	return request({
		url:'/getJsonInquiry?grant_type=wechat_program',
		method:'POST',
		data,
	})
}
// 上传图片
export function FileList(data){
	return request({
		url:'/FileList?grant_type=wechat_program',
		method:'POST',
		data,
	})
}